class Post(object):
    TYPE_TINYTEXT = 0
    TYPE_TEXT = 1
    TYPE_IMAGE = 2
    TYPE_VIDEO = 3
    TYPE_AUDIO = 4
    TYPE_FILE = 5
    TYPE_LINK = 6

    def __init__(self, pid = "", uid = "", content = "", caption = "", postType= 0, url = "", application = ""):
        self.pid = pid #posts id
        self.uid = uid #user post id (author id)
        self.content = content
        self.caption = caption #caption (likes meme where caption is some comment of)
        self.postType = postType
        self.application = application #application used to post it
        self.url = url

    def getPostType(self):
        self.postType